all:
	gcc client.c msg_queue.c tools.c -std=c99 -D_XOPEN_SOURCE=600 -o client
	gcc server.c msg_queue.c tools.c -std=c99 -D_XOPEN_SOURCE=600 -o server
	gcc open.c msg_queue.c tools.c -std=c99 -D_XOPEN_SOURCE=600 -o open
	gcc save.c msg_queue.c tools.c -std=c99 -D_XOPEN_SOURCE=600 -o save
	gcc take.c msg_queue.c tools.c -std=c99 -D_XOPEN_SOURCE=600 -o take
	gcc query.c msg_queue.c tools.c -std=c99 -D_XOPEN_SOURCE=600 -o query
	gcc transfer.c msg_queue.c tools.c -std=c99 -D_XOPEN_SOURCE=600 -o transfer
	gcc destroy.c msg_queue.c tools.c -std=c99 -D_XOPEN_SOURCE=600 -o destroy
	gcc login.c msg_queue.c tools.c -std=c99 -D_XOPEN_SOURCE=600 -o login
	gcc unlock.c msg_queue.c tools.c -std=c99 -D_XOPEN_SOURCE=600 -o unlock
	gcc chpwd.c msg_queue.c tools.c -std=c99 -D_XOPEN_SOURCE=600 -o chpwd
clean:
	rm client server open save take query transfer destroy
